﻿using System.Collections.Generic;
using NH.Business.Interfaces;
using NH.Domain.Interfaces;
using NH.Provider.Implementations;
using NH.Provider.Interfaces;

namespace NH.Business.Implementations
{
    public class DepartmentBusiness : IDepartmentBusiness
    {
        private readonly IDepartmentHandler _departmentHandler;

        public DepartmentBusiness()
        {
            _departmentHandler = new DepartmentHandler();
        }

        public IList<IDepartment> GetDepartments()
        {
            return _departmentHandler.GetDepartments();
        }
    }
}